<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
    let d =prompt("请输入您现在的时间，单位点")
    if(d<6&&d>=0){
        alert("凌晨好！")
    }else if(d<9&&d>=6){
        alert("早上好！")
    }else if(d<12&&d>=9){
        alert("上午好！")
    }else if (d<14&&d>=12){
        alert("中午好！")
    }else if (d<17&&d>=14){
        alert("下午好！")
    }else if (d<19&&d>=17){
        alert("傍晚好！")
    }else if (d>19&&d>0&&d<24){
        alert("夜里好！")
    }if (d>24&&d<0){
        alert("会数数吗？")
    }





    </script>
</body>
</html>